package server;

import model.Category;

public class CategoryRepository
extends BaseRepository
{
	public void create(Category category)
	{
		getService().put(category);
	}
	
	public void deleteById(Long pId)
	{
		getService().delete(Category.class, pId);
	}
	
	public Category getById(Long pId)
	{
		return getService().get(Category.class, pId);
	}
}
